]> dgit.raspbian.org Git - gnome-shell.git/commit
authPrompt: propagate gdm "reset" signal after user switching
authorRay Strode <rstrode@redhat.com>
Tue, 26 Nov 2013 03:30:53 +0000 (22:30 -0500)
committerRay Strode <rstrode@redhat.com>
Tue, 26 Nov 2013 03:38:44 +0000 (22:38 -0500)
commitb2f547e93452cb2d406263cd9bb8743760c28683
tree9fc9a53e65bc5cb87ffd5f75665ccf9ec68e62d7
parent0870a25e2f277b1f4be2de894550126c56c61f8f
authPrompt: propagate gdm "reset" signal after user switching

After a user types in their password at the login screen, one
of two things can happen

1) a new session is started
2) an existing session is switched to

In the latter case, GDM sends a reset signal to the login screen,
so it knows to go back to the user list and wait to be summoned
again.

Unfortunately, all reset signals are ignored after verification
success.  The reason is because the reset handler was copied from
the unlock dialog as part of a deduplication effort in commit
7e7295f259febf34c89659a9bcb05f9924fa1976 and the unlock dialog
handler at the time also emitted a "failed" signal on reset
(which wouldn't make sense to emit after success).

These days "failed" is handled in a different way.

This commit changes the code to let reset signals through after
successful verification.

https://bugzilla.gnome.org/show_bug.cgi?id=710456
js/gdm/authPrompt.js